package xiao.ke.sbdemo.dao;/**
 * @author XuXiaoK
 * @create 2019-12-19 9:49
 */

import org.springframework.data.jpa.repository.JpaRepository;

import org.springframework.stereotype.Repository;
import xiao.ke.sbdemo.po.User;


/**
 * @Author XiaoKe
 * @Date 2019/12/19 9:49
 * @Description TODO
 */
@Repository
public interface UserRepository extends JpaRepository<User, Long> {

    User findByUsernameAndPassword(String username, String password);
}
